<script>
import demo441 from './components/demo441.vue';
import demo442 from './components/demo442.vue';
    export default{
        data(){
            return{
                activeComponent:"demo442"
            }
        },
        components:{
            demo441,
            demo442
        }
    }
</script>

<template>
    <div>
        <input type="radio" v-model="activeComponent" value="demo441"/>demo441
        <input type="radio" v-model="activeComponent" value="demo442"/>demo442
        <component :is="activeComponent"></component>
    </div>
</template>

<style scoped>
</style>